﻿using SymulatorEthernetWPF.SimObjects.Devices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace SymulatorEthernetWPF.UserInterface.UIElements
{
    class TreeViewItemDevice : TreeViewItem
    {
        public NetworkInterface networkInterface;
        public TreeViewItemDevice(NetworkInterface networkInterface)
        {
            this.networkInterface = networkInterface;
            this.Header = networkInterface.Name+" ["+networkInterface.Adress+"]";
        }
    }
}
